Let's move the sprite down to stand on the ground.

  • Change the second number in the .go_to() command to -150.

The second number in .go_to() is the y-coordinate. It controls where the sprite is up and down.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("winter") sprite = codesters.Sprite("person12") sprite.go_to(-125, -50)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)